The obligation of a mortgage refers to the legal agreement between a borrower and a lender, where the borrower pledges their property as security for repayment of a loan. The borrower is obliged to make regular payments on the loan, and if they fail to do so, the lender may seize and sell the property to recoup their losses.